package com.hb0730.boot.admin.modules.sys.system.service;
import com.hb0730.boot.admin.core.service.BaseServiceImpl;
import com.hb0730.boot.admin.data.domain.BasePage;
import com.hb0730.boot.admin.modules.sys.system.mapper.SysDepartmentMapper;
import com.hb0730.boot.admin.modules.sys.system.mapper.SysUserMapper;
import com.hb0730.boot.admin.modules.sys.system.model.entity.SysDepartment;
import com.hb0730.boot.admin.modules.sys.system.model.entity.SysUser;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
@Slf4j
@RequiredArgsConstructor
public class SysDepartmentService  extends BaseServiceImpl<SysDepartmentMapper, SysDepartment> {

    public List<SysDepartment> findAll() {
        return this.baseMapper.findAll();
    }
}
